package cn.getech.data.metadata.api.gateway.model.dto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


@Data
@ApiModel(description = "采集表信息变更通知历史")
@TableName("collection_notification_received")
public class CollectionNotificationReceived implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("通知用户组类型 1部门  2平台外用户")
    @TableField("notification_type")
    private Integer notificationType;

    @ApiModelProperty("通知用户组id")
    @TableField("notification_user_id")
    private Long notificationUserId;

    @ApiModelProperty("通知接收人id")
    @TableField("received_id")
    private Long receivedId;

    @ApiModelProperty("通知接收人邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty("通知接收人名称")
    @TableField("received_name")
    private String receivedName;
}
